import { SectionTitleWrapper } from "@/styles/section-title";
import React, { FC, memo, ReactElement } from "react";

interface IProps {
  children?: ReactElement;
  title: String;
}

const SectionTitle: FC<IProps> = (props: IProps) => {
  const { title = "" } = props;
  return <SectionTitleWrapper>{title}</SectionTitleWrapper>;
};

export default memo(SectionTitle);
